<div class="admin_left actions">
    <h3 style="font-size:20px;">Manage more</h3>
        <ul>

                <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Images'), array('action' => 'index')); ?></li>
                <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('List Items'), array('controller' => 'items', 'action' => 'index')); ?> </li>
                <li style="list-style-type:none; margin-bottom:20%;"><?php echo $this->Html->link(__('New Item'), array('controller' => 'items', 'action' => 'add')); ?> </li>
        </ul>
</div>



<?php if ($current_customer['group_id'] == 1): ?>
        <div class="admin_right images form">

        <div id=breadcrumbAdmin>
            <?php $this->Html->addCrumb('Images', '/Images/index'); ?>
            <?php $this->Html->addCrumb('Edit', '/Images/edit', array('style'=> ('text-decoration:underline; color:#EB1E70;'))); ?>
            <?php echo $this->Html->getCrumbs(' > ', array( 'text' => 'Items', 'url' => array('controller' => 'items', 'action' => 'index'), 'escape' => false)); ?>
        </div>

            <?php echo $this->Form->create('Image', array('enctype' => 'multipart/form-data')); ?>
                    <fieldset>
                            <legend><?php echo __('Edit Image'); ?></legend>
                            <table>
                                <td>
                                    <?php
                                            echo $this->Form->input('id');
                                            echo $this->Form->file('name');
                                            echo $this->Form->input('item_id');
                                    ?>
                                </td>

                            </table>
                    </fieldset>
            <?php echo $this->Form->end(__('Submit')); ?>
        </div>

<?php else: ?>
    <?php echo "You can't view this page"; ?>
<?php endif; ?>